Skip to content

PHPORM-160 Add tests to documentation examples #2775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Mar 14, 2024

Fix PHPORM-160
Based on #2747

To run the test:

php vendor/bin/phpunit docs/includes/eloquent-models/relationships/RelationshipsExamplesTest.php

Preview: https://preview-mongodbcchomongodb.gatsbyjs.io/laravel/GromNaN-PHPORM-160/eloquent-models/

Checklist

  • Add tests and ensure they pass
  • Add an entry to the CHANGELOG.md file
  • Update documentation for new features

@GromNaN GromNaN added this to the 4.1 milestone Mar 14, 2024
@GromNaN GromNaN requested a review from a team as a code owner March 14, 2024 16:45
@GromNaN GromNaN requested a review from alcaeus March 14, 2024 16:45
@GromNaN GromNaN changed the base branch from 4.2 to 4.1 March 14, 2024 16:45
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I focused my review on the DocumentationExamplesTest file. As for the rest of the commits, are those backports from a newer version? If so, can we backport a squashed commit? Also, is 4.1 the correct target branch here?

@GromNaN GromNaN requested a review from ccho-mongodb March 15, 2024 09:52
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests LGTM. I'll defer to the docs team to ensure the examples are what they expect.

@GromNaN GromNaN mentioned this pull request Mar 25, 2024
3 tasks
@GromNaN GromNaN added the docs label Mar 25, 2024
@GromNaN GromNaN changed the base branch from 4.1 to docs-rewrite March 25, 2024 16:26
@GromNaN GromNaN changed the base branch from docs-rewrite to 4.1 March 25, 2024 16:59
@GromNaN GromNaN requested a review from jmikola March 25, 2024 21:44
Copy link
Contributor

@ccho-mongodb ccho-mongodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants